<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<link rel="STYLESHEET" href="lib.css" type='text/css' />
<link rel="SHORTCUT ICON" href="../icons/pyfav.png" type="image/png" />
<link rel='start' href='../index.html' title='Python documentation Index' />
<link rel="first" href="lib.html" title='Python library Reference' />
<link rel='contents' href='contents.html' title="Contents" />
<link rel='index' href='genindex.html' title='Index' />
<link rel='last' href='about.html' title='About this document...' />
<link rel='help' href='about.html' title='About this document...' />
<link rel="prev" href="curses-window-objects.html" />
<link rel="parent" href="module-curses.html" />
<link rel="next" href="module-curses.textpad.html" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name='aesop' content='information' />
<title>14.7.3 Constants</title>
</head>
<body>
<div class="navigation">
<div id='top-navigation-panel' xml:id='top-navigation-panel'>
<table align="center" width="100%" cellpadding="0" cellspacing="2">
<tr>
<td class='online-navigation'><a rel="prev" title="14.7.2 window Objects"
  href="curses-window-objects.html"><img src='../icons/previous.png'
  border='0' height='32'  alt='Previous Page' width='32' /></a></td>
<td class='online-navigation'><a rel="parent" title="14.7 curses  "
  href="module-curses.html"><img src='../icons/up.png'
  border='0' height='32'  alt='Up one Level' width='32' /></a></td>
<td class='online-navigation'><a rel="next" title="14.8 curses.textpad  "
  href="module-curses.textpad.html"><img src='../icons/next.png'
  border='0' height='32'  alt='Next Page' width='32' /></a></td>
<td align="center" width="100%">Python Library Reference</td>
<td class='online-navigation'><a rel="contents" title="Table of Contents"
  href="contents.html"><img src='../icons/contents.png'
  border='0' height='32'  alt='Contents' width='32' /></a></td>
<td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png'
  border='0' height='32'  alt='Module Index' width='32' /></a></td>
<td class='online-navigation'><a rel="index" title="Index"
  href="genindex.html"><img src='../icons/index.png'
  border='0' height='32'  alt='Index' width='32' /></a></td>
</tr></table>
<div class='online-navigation'>
<b class="navlabel">Previous:</b>
<a class="sectref" rel="prev" href="curses-window-objects.html">14.7.2 Window Objects</a>
<b class="navlabel">Up:</b>
<a class="sectref" rel="parent" href="module-curses.html">14.7 curses  </a>
<b class="navlabel">Next:</b>
<a class="sectref" rel="next" href="module-curses.textpad.html">14.8 curses.textpad  </a>
</div>
<hr /></div>
</div>
<!--End of Navigation Panel-->

<h2><a name="SECTION0016730000000000000000">
14.7.3 Constants</a>
</h2>

<p>
The <tt class="module">curses</tt> module defines the following data members:

<p>
<dl><dt><b><tt id='l2h-3115' xml:id='l2h-3115'>ERR</tt></b></dt>
<dd>
Some curses routines  that  return  an integer, such as 
<tt class="function">getch()</tt>, return <tt class="constant">ERR</tt> upon failure.  
</dd></dl>

<p>
<dl><dt><b><tt id='l2h-3116' xml:id='l2h-3116'>OK</tt></b></dt>
<dd>
Some curses routines  that  return  an integer, such as 
<tt class="function">napms()</tt>, return <tt class="constant">OK</tt> upon success.  
</dd></dl>

<p>
<dl><dt><b><tt id='l2h-3117' xml:id='l2h-3117'>version</tt></b></dt>
<dd>
A string representing the current version of the module. 
Also available as <tt class="constant">__version__</tt>.
</dd></dl>

<p>
Several constants are available to specify character cell attributes:

<p>
<div class="center"><table class="realtable">
  <thead>
    <tr>
      <th class="left"  >Attribute</th>
      <th class="left"  >Meaning</th>
      </tr>
    </thead>
  <tbody>
    <tr><td class="left"   valign="baseline"><code>A_ALTCHARSET</code></td>
        <td class="left"  >Alternate character set mode.</td></tr>
    <tr><td class="left"   valign="baseline"><code>A_BLINK</code></td>
        <td class="left"  >Blink mode.</td></tr>
    <tr><td class="left"   valign="baseline"><code>A_BOLD</code></td>
        <td class="left"  >Bold mode.</td></tr>
    <tr><td class="left"   valign="baseline"><code>A_DIM</code></td>
        <td class="left"  >Dim mode.</td></tr>
    <tr><td class="left"   valign="baseline"><code>A_NORMAL</code></td>
        <td class="left"  >Normal attribute.</td></tr>
    <tr><td class="left"   valign="baseline"><code>A_STANDOUT</code></td>
        <td class="left"  >Standout mode.</td></tr>
    <tr><td class="left"   valign="baseline"><code>A_UNDERLINE</code></td>
        <td class="left"  >Underline mode.</td></tr></tbody>
</table></div>

<p>
Keys are referred to by integer constants with names starting with 
"<tt class="samp">KEY_</tt>".   The exact keycaps available are system dependent.

<p>
<div class="center"><table class="realtable">
  <thead>
    <tr>
      <th class="left"  >Key constant</th>
      <th class="left"  >Key</th>
      </tr>
    </thead>
  <tbody>
    <tr><td class="left"   valign="baseline"><code>KEY_MIN</code></td>
        <td class="left"  >Minimum key value</td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_BREAK</code></td>
        <td class="left"  > Break key (unreliable) </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_DOWN</code></td>
        <td class="left"  > Down-arrow </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_UP</code></td>
        <td class="left"  > Up-arrow </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_LEFT</code></td>
        <td class="left"  > Left-arrow </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_RIGHT</code></td>
        <td class="left"  > Right-arrow </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_HOME</code></td>
        <td class="left"  > Home key (upward+left arrow) </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_BACKSPACE</code></td>
        <td class="left"  > Backspace (unreliable) </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_F0</code></td>
        <td class="left"  > Function keys.  Up to 64 function keys are supported. </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_F<var>n</var></code></td>
        <td class="left"  > Value of function key <var>n</var> </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_DL</code></td>
        <td class="left"  > Delete line </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_IL</code></td>
        <td class="left"  > Insert line </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_DC</code></td>
        <td class="left"  > Delete character </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_IC</code></td>
        <td class="left"  > Insert char or enter insert mode </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_EIC</code></td>
        <td class="left"  > Exit insert char mode </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_CLEAR</code></td>
        <td class="left"  > Clear screen </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_EOS</code></td>
        <td class="left"  > Clear to end of screen </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_EOL</code></td>
        <td class="left"  > Clear to end of line </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_SF</code></td>
        <td class="left"  > Scroll 1 line forward </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_SR</code></td>
        <td class="left"  > Scroll 1 line backward (reverse) </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_NPAGE</code></td>
        <td class="left"  > Next page </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_PPAGE</code></td>
        <td class="left"  > Previous page </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_STAB</code></td>
        <td class="left"  > Set tab </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_CTAB</code></td>
        <td class="left"  > Clear tab </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_CATAB</code></td>
        <td class="left"  > Clear all tabs </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_ENTER</code></td>
        <td class="left"  > Enter or send (unreliable) </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_SRESET</code></td>
        <td class="left"  > Soft (partial) reset (unreliable) </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_RESET</code></td>
        <td class="left"  > Reset or hard reset (unreliable) </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_PRINT</code></td>
        <td class="left"  > Print </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_LL</code></td>
        <td class="left"  > Home down or bottom (lower left) </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_A1</code></td>
        <td class="left"  > Upper left of keypad </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_A3</code></td>
        <td class="left"  > Upper right of keypad </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_B2</code></td>
        <td class="left"  > Center of keypad </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_C1</code></td>
        <td class="left"  > Lower left of keypad </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_C3</code></td>
        <td class="left"  > Lower right of keypad </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_BTAB</code></td>
        <td class="left"  > Back tab </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_BEG</code></td>
        <td class="left"  > Beg (beginning) </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_CANCEL</code></td>
        <td class="left"  > Cancel </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_CLOSE</code></td>
        <td class="left"  > Close </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_COMMAND</code></td>
        <td class="left"  > Cmd (command) </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_COPY</code></td>
        <td class="left"  > Copy </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_CREATE</code></td>
        <td class="left"  > Create </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_END</code></td>
        <td class="left"  > End </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_EXIT</code></td>
        <td class="left"  > Exit </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_FIND</code></td>
        <td class="left"  > Find </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_HELP</code></td>
        <td class="left"  > Help </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_MARK</code></td>
        <td class="left"  > Mark </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_MESSAGE</code></td>
        <td class="left"  > Message </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_MOVE</code></td>
        <td class="left"  > Move </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_NEXT</code></td>
        <td class="left"  > Next </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_OPEN</code></td>
        <td class="left"  > Open </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_OPTIONS</code></td>
        <td class="left"  > Options </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_PREVIOUS</code></td>
        <td class="left"  > Prev (previous) </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_REDO</code></td>
        <td class="left"  > Redo </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_REFERENCE</code></td>
        <td class="left"  > Ref (reference) </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_REFRESH</code></td>
        <td class="left"  > Refresh </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_REPLACE</code></td>
        <td class="left"  > Replace </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_RESTART</code></td>
        <td class="left"  > Restart </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_RESUME</code></td>
        <td class="left"  > Resume </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_SAVE</code></td>
        <td class="left"  > Save </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_SBEG</code></td>
        <td class="left"  > Shifted Beg (beginning) </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_SCANCEL</code></td>
        <td class="left"  > Shifted Cancel </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_SCOMMAND</code></td>
        <td class="left"  > Shifted Command </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_SCOPY</code></td>
        <td class="left"  > Shifted Copy </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_SCREATE</code></td>
        <td class="left"  > Shifted Create </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_SDC</code></td>
        <td class="left"  > Shifted Delete char </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_SDL</code></td>
        <td class="left"  > Shifted Delete line </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_SELECT</code></td>
        <td class="left"  > Select </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_SEND</code></td>
        <td class="left"  > Shifted End </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_SEOL</code></td>
        <td class="left"  > Shifted Clear line </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_SEXIT</code></td>
        <td class="left"  > Shifted Dxit </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_SFIND</code></td>
        <td class="left"  > Shifted Find </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_SHELP</code></td>
        <td class="left"  > Shifted Help </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_SHOME</code></td>
        <td class="left"  > Shifted Home </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_SIC</code></td>
        <td class="left"  > Shifted Input </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_SLEFT</code></td>
        <td class="left"  > Shifted Left arrow </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_SMESSAGE</code></td>
        <td class="left"  > Shifted Message </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_SMOVE</code></td>
        <td class="left"  > Shifted Move </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_SNEXT</code></td>
        <td class="left"  > Shifted Next </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_SOPTIONS</code></td>
        <td class="left"  > Shifted Options </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_SPREVIOUS</code></td>
        <td class="left"  > Shifted Prev </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_SPRINT</code></td>
        <td class="left"  > Shifted Print </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_SREDO</code></td>
        <td class="left"  > Shifted Redo </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_SREPLACE</code></td>
        <td class="left"  > Shifted Replace </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_SRIGHT</code></td>
        <td class="left"  > Shifted Right arrow </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_SRSUME</code></td>
        <td class="left"  > Shifted Resume </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_SSAVE</code></td>
        <td class="left"  > Shifted Save </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_SSUSPEND</code></td>
        <td class="left"  > Shifted Suspend </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_SUNDO</code></td>
        <td class="left"  > Shifted Undo </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_SUSPEND</code></td>
        <td class="left"  > Suspend </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_UNDO</code></td>
        <td class="left"  > Undo </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_MOUSE</code></td>
        <td class="left"  > Mouse event has occurred </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_RESIZE</code></td>
        <td class="left"  > Terminal resize event </td></tr>
    <tr><td class="left"   valign="baseline"><code>KEY_MAX</code></td>
        <td class="left"  >Maximum key value</td></tr></tbody>
</table></div>

<p>
On VT100s and their software emulations, such as X terminal emulators,
there are normally at least four function keys (<tt class="constant">KEY_F1</tt>,
<tt class="constant">KEY_F2</tt>, <tt class="constant">KEY_F3</tt>, <tt class="constant">KEY_F4</tt>) available,
and the arrow keys mapped to <tt class="constant">KEY_UP</tt>, <tt class="constant">KEY_DOWN</tt>,
<tt class="constant">KEY_LEFT</tt> and <tt class="constant">KEY_RIGHT</tt> in the obvious way.  If
your machine has a PC keyboard, it is safe to expect arrow keys and
twelve function keys (older PC keyboards may have only ten function
keys); also, the following keypad mappings are standard:

<p>
<div class="center"><table class="realtable">
  <thead>
    <tr>
      <th class="left"  >Keycap</th>
      <th class="left"  >Constant</th>
      </tr>
    </thead>
  <tbody>
    <tr><td class="left"   valign="baseline"><code>Insert</code></td>
        <td class="left"  >KEY_IC</td></tr>
    <tr><td class="left"   valign="baseline"><code>Delete</code></td>
        <td class="left"  >KEY_DC</td></tr>
    <tr><td class="left"   valign="baseline"><code>Home</code></td>
        <td class="left"  >KEY_HOME</td></tr>
    <tr><td class="left"   valign="baseline"><code>End</code></td>
        <td class="left"  >KEY_END</td></tr>
    <tr><td class="left"   valign="baseline"><code>Page Up</code></td>
        <td class="left"  >KEY_NPAGE</td></tr>
    <tr><td class="left"   valign="baseline"><code>Page Down</code></td>
        <td class="left"  >KEY_PPAGE</td></tr></tbody>
</table></div>

<p>
The following table lists characters from the alternate character set.
These are inherited from the VT100 terminal, and will generally be 
available on software emulations such as X terminals.  When there
is no graphic available, curses falls back on a crude printable ASCII
approximation.
<span class="note"><b class="label">Note:</b>
These are available only after <tt class="function">initscr()</tt> has 
been called.</span>

<p>
<div class="center"><table class="realtable">
  <thead>
    <tr>
      <th class="left"  >ACS code</th>
      <th class="left"  >Meaning</th>
      </tr>
    </thead>
  <tbody>
    <tr><td class="left"   valign="baseline"><code>ACS_BBSS</code></td>
        <td class="left"  >alternate name for upper right corner</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_BLOCK</code></td>
        <td class="left"  >solid square block</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_BOARD</code></td>
        <td class="left"  >board of squares</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_BSBS</code></td>
        <td class="left"  >alternate name for horizontal line</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_BSSB</code></td>
        <td class="left"  >alternate name for upper left corner</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_BSSS</code></td>
        <td class="left"  >alternate name for top tee</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_BTEE</code></td>
        <td class="left"  >bottom tee</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_BULLET</code></td>
        <td class="left"  >bullet</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_CKBOARD</code></td>
        <td class="left"  >checker board (stipple)</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_DARROW</code></td>
        <td class="left"  >arrow pointing down</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_DEGREE</code></td>
        <td class="left"  >degree symbol</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_DIAMOND</code></td>
        <td class="left"  >diamond</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_GEQUAL</code></td>
        <td class="left"  >greater-than-or-equal-to</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_HLINE</code></td>
        <td class="left"  >horizontal line</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_LANTERN</code></td>
        <td class="left"  >lantern symbol</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_LARROW</code></td>
        <td class="left"  >left arrow</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_LEQUAL</code></td>
        <td class="left"  >less-than-or-equal-to</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_LLCORNER</code></td>
        <td class="left"  >lower left-hand corner</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_LRCORNER</code></td>
        <td class="left"  >lower right-hand corner</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_LTEE</code></td>
        <td class="left"  >left tee</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_NEQUAL</code></td>
        <td class="left"  >not-equal sign</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_PI</code></td>
        <td class="left"  >letter pi</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_PLMINUS</code></td>
        <td class="left"  >plus-or-minus sign</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_PLUS</code></td>
        <td class="left"  >big plus sign</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_RARROW</code></td>
        <td class="left"  >right arrow</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_RTEE</code></td>
        <td class="left"  >right tee</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_S1</code></td>
        <td class="left"  >scan line 1</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_S3</code></td>
        <td class="left"  >scan line 3</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_S7</code></td>
        <td class="left"  >scan line 7</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_S9</code></td>
        <td class="left"  >scan line 9</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_SBBS</code></td>
        <td class="left"  >alternate name for lower right corner</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_SBSB</code></td>
        <td class="left"  >alternate name for vertical line</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_SBSS</code></td>
        <td class="left"  >alternate name for right tee</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_SSBB</code></td>
        <td class="left"  >alternate name for lower left corner</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_SSBS</code></td>
        <td class="left"  >alternate name for bottom tee</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_SSSB</code></td>
        <td class="left"  >alternate name for left tee</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_SSSS</code></td>
        <td class="left"  >alternate name for crossover or big plus</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_STERLING</code></td>
        <td class="left"  >pound sterling</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_TTEE</code></td>
        <td class="left"  >top tee</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_UARROW</code></td>
        <td class="left"  >up arrow</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_ULCORNER</code></td>
        <td class="left"  >upper left corner</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_URCORNER</code></td>
        <td class="left"  >upper right corner</td></tr>
    <tr><td class="left"   valign="baseline"><code>ACS_VLINE</code></td>
        <td class="left"  >vertical line</td></tr></tbody>
</table></div>

<p>
The following table lists the predefined colors:

<p>
<div class="center"><table class="realtable">
  <thead>
    <tr>
      <th class="left"  >Constant</th>
      <th class="left"  >Color</th>
      </tr>
    </thead>
  <tbody>
    <tr><td class="left"   valign="baseline"><code>COLOR_BLACK</code></td>
        <td class="left"  >Black</td></tr>
    <tr><td class="left"   valign="baseline"><code>COLOR_BLUE</code></td>
        <td class="left"  >Blue</td></tr>
    <tr><td class="left"   valign="baseline"><code>COLOR_CYAN</code></td>
        <td class="left"  >Cyan (light greenish blue)</td></tr>
    <tr><td class="left"   valign="baseline"><code>COLOR_GREEN</code></td>
        <td class="left"  >Green</td></tr>
    <tr><td class="left"   valign="baseline"><code>COLOR_MAGENTA</code></td>
        <td class="left"  >Magenta (purplish red)</td></tr>
    <tr><td class="left"   valign="baseline"><code>COLOR_RED</code></td>
        <td class="left"  >Red</td></tr>
    <tr><td class="left"   valign="baseline"><code>COLOR_WHITE</code></td>
        <td class="left"  >White</td></tr>
    <tr><td class="left"   valign="baseline"><code>COLOR_YELLOW</code></td>
        <td class="left"  >Yellow</td></tr></tbody>
</table></div>

<p>

<div class="navigation">
<div class='online-navigation'>
<p></p><hr />
<table align="center" width="100%" cellpadding="0" cellspacing="2">
<tr>
<td class='online-navigation'><a rel="prev" title="14.7.2 window Objects"
  href="curses-window-objects.html"><img src='../icons/previous.png'
  border='0' height='32'  alt='Previous Page' width='32' /></a></td>
<td class='online-navigation'><a rel="parent" title="14.7 curses  "
  href="module-curses.html"><img src='../icons/up.png'
  border='0' height='32'  alt='Up one Level' width='32' /></a></td>
<td class='online-navigation'><a rel="next" title="14.8 curses.textpad  "
  href="module-curses.textpad.html"><img src='../icons/next.png'
  border='0' height='32'  alt='Next Page' width='32' /></a></td>
<td align="center" width="100%">Python Library Reference</td>
<td class='online-navigation'><a rel="contents" title="Table of Contents"
  href="contents.html"><img src='../icons/contents.png'
  border='0' height='32'  alt='Contents' width='32' /></a></td>
<td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png'
  border='0' height='32'  alt='Module Index' width='32' /></a></td>
<td class='online-navigation'><a rel="index" title="Index"
  href="genindex.html"><img src='../icons/index.png'
  border='0' height='32'  alt='Index' width='32' /></a></td>
</tr></table>
<div class='online-navigation'>
<b class="navlabel">Previous:</b>
<a class="sectref" rel="prev" href="curses-window-objects.html">14.7.2 Window Objects</a>
<b class="navlabel">Up:</b>
<a class="sectref" rel="parent" href="module-curses.html">14.7 curses  </a>
<b class="navlabel">Next:</b>
<a class="sectref" rel="next" href="module-curses.textpad.html">14.8 curses.textpad  </a>
</div>
</div>
<hr />
<span class="release-info">Release 2.5.1, documentation updated on 18th April, 2007.</span>
</div>
<!--End of Navigation Panel-->
<address>
See <i><a href="about.html">About this document...</a></i> for information on suggesting changes.
</address>
</body>
</html>
